<?php function runPlantillaPrincipal(){ ?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <title>Agencia de viajes</title>
        <meta name=
              "keywords" content="" />
        <meta name="description" content="" />
        <link href="../Files/Estilos/styles.css" rel="stylesheet" type="text/css" />
        <style type="text/css">
            <!--
            .Estilo6 {
                font-size: xx-large;
                font-family: Georgia, "Times New Roman", Times, serif;
            }
            .Estilo10 {
                font-family: Arial, Helvetica, sans-serif;
                color: #006600;
            }
            -->
        </style>
    </head>

    <body>
        <div id="main_bg">
            <div id="main">
                <!-- header begins -->
                <div id="header">
                    <div align="center">
                        <p>&nbsp;</p>
                        <h5><span class="Estilo6"><span class="Estilo10">AGENCIA AEROPLANE </span></span>          <!-- content begins -->
                        </h5>
                    </div>
                </div>
                <div id="content">
                    <?
                    if (isset($_GET['error'])) {
                        ?>
                        <script>
                            alert('DATOS INCORRECTOS');
                        </script>
                        <?
                    }
                    ?>
                    <div id="right">
                        <h1>Hoteles</h1>
                        <div class="opt"><div class="opt_a">
                                <a href=" ">Hotel Aravaca</a></div>
                        </div>
                        <div class="opt"><div class="opt_a">
                                <a href=" ">Lisboa Hotel</a></div></div>
                        <div class="opt">
                            <div class="opt_a">
                                <a href=" ">Westfalia Hotel</a></div>
                        </div>
                        <h1>Ingreso</h1>
                        <div class="dat">
                            <form action="../Controladores/LoginController.php" method="post" name="fLogin">
                                <table align="center">
                                    <tr>
                                        <td align="right">Nombre: </td>
                                        <td><input name="nombreUsuario" type="text" id="nombre_asesor" /></td>
                                    </tr>
                                    <tr>
                                        <td align="right">Contrase&ntilde;a</td>
                                        <td><input name="contrasenaUsuario" type="password" id="contrasena_asesor" /></td>  
                                        <input name="tipoUsuario" type="hidden" value="admin" />
                                    </tr>
                                    <tr>
                                        <td height="26" align="center"></td>
                                        <TD><input name="Enviar" type="submit" value="Ingresar" /></TD>
                                    </tr>
                                </table>
                            </form>
                        </div>
                        <div class="dat"></div>
                    </div>
                    <div id="left">
                        <div class="left_box">
                            <h1>Objetivo del sistema </h1>
                            <div class="text">                              <img src="../Files/Imagenes/img1.jpg" class="img_l" width="125"  height="167" alt="" /> <br />
                                <div style="height:10px"></div>
                                <div align="justify">
                                    <p><span style="color: rgb(0, 0, 0); font-family: Geneva, Arial, Helvetica, sans-serif; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none;">Crear un prototipo de software, desarrollado a la medida para la agencia de viajes Aeroplane que permita el manejo de reservas, de acuerdo a los requerimientos acordados.</span><br />
                                    </p>
                                    <p>&nbsp;</p>
                                    <p>&nbsp;</p>
                                    <p>&nbsp;</p>
                                    <p>&nbsp;</p>
                                </div>
                            </div>
                        </div>
                        <div class="left_box">
                            <h1>ARMA TU PLAN </h1>
                            <div class="text">
                                <div class="left_col">
                                    <div class="left_res">
                                        <ul>
                                            <li><a href="hotel.php">Hoteles</a></li>
                                            <li><a href=" ">Planes</a></li>
                                            <li><a href=" ">Transporte</a></li>
                                            <li><a href=" ">Alimentacion</a></li>
                                            <li><a href=" ">Actividades de hotel </a></li>

                                        </ul>
                                    </div>
                                    <div class="right_res"></div>
                                    <div style="clear: both"></div>
                                </div>

                                <div style="clear: both"></div>
                            </div>
                        </div>

                        <div style="height:11px"></div>

                        <div class="left_box">
                            <h1>Galeria</h1>
                            <div class="text">
                                <p><img src="../Files/Imagenes/playa.jpg" width="266" height="190" />
                                    <img src="../Files/Imagenes/images.jpg" width="267" height="187" /> </p>
                                <p><img src="../Files/Imagenes/playa2.jpg" width="259" height="194" /> <img src="../Files/Imagenes/images%20(1).jpg" width="272" height="194" />                              </p>
                                <div class="left_col">                               <br /><br />
                                </div>
                                <div class="right_col"></div>
                                <div style="clear: both"></div>
                            </div>
                        </div>
                    </div>
                    <div style="clear: both"></div>
                </div>
                <!-- content ends --> 
                <!-- footer begins -->
                <div id="footer">
                    <p>Copyright  2010. <a href="#">Privacy Policy</a> | <a href="#">Terms of Use</a> | <a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional"><abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a> | <a href="http://jigsaw.w3.org/css-validator/check/referer" title="This page validates as CSS"><abbr title="Cascading Style Sheets">CSS</abbr></a></p> 
                    <p>Design by Paola Parra y Paola Pedraza </p>
                </div>
            </div>

        </div>

        <div style="text-align: center; font-size: 0.75em;"></div>
    </body>
</html>

<?php } ?>